using System;
using System.Collections.Generic;
using Turquoise.Core.Abstract;

namespace Turquoise.Entities.Data
{

    
    public class ContentCategory : IEntity
    {
        public int Id { get; set; }
        public int ContentTypeId { get; set; }
        public int? ParentId { get; set; }
        public DateTime CreateDate { get; set; }
        public int CreatedBy { get; set; }
        public DateTime UpdateDate { get; set; }
        public int UpdatedBy { get; set; }

        public virtual IList<Content> Contents { get; set; }
        public virtual IList<ContentCategoryLanguageLine> ContentCategoryLanguageLines { get; set; }

        public virtual ContentType ContentType { get; set; }
        public virtual User User_CreatedBy { get; set; }
        public virtual User User_UpdatedBy { get; set; }
        
        public ContentCategory()
        {
            Contents = new List<Content>();
            ContentCategoryLanguageLines = new List<ContentCategoryLanguageLine>();
        }
    }

}

